<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label for="name" class="control-label col-xs-12 col-sm-2">{:__('Ordersn')}:</label>
        <div class="col-xs-12 col-sm-4">
            <input id="ordersn" data-rule="required" class="form-control" name="row[ordersn]" type="text" value="{$row.ordersn}" readonly>
        </div>
    </div>

    <div class="form-group">
        <label for="c-pid" class="control-label col-xs-12 col-sm-2">{:__('User.username')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="username" data-rule="required" class="form-control" name="row[user_detail.realname]" type="text" value="{$row.user_detail.realname}" readonly>
        </div>
    </div>

    <div class="form-group">
        <label for="c-pid" class="control-label col-xs-12 col-sm-2">{:__('Machine.name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="machine" data-rule="required" class="form-control" name="row[machine.name]" type="text" value="{$row.machine['name']}" readonly>
        </div>
    </div>


    <div class="form-group">
        <label for="c-pid" class="control-label col-xs-12 col-sm-2">{:__('Price')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="price" data-rule="required" class="form-control" name="row[price]" type="text" value="{$row.price}" readonly>
        </div>
    </div>

    <div class="form-group">
        <label for="status" class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input type="radio" name="row[status]" value="normal" <?php if(__($row['status']) == __('Normal')) echo 'checked'; ?> >   {:__('Normal')}
            <input type="radio" name="row[status]" value="hidden" <?php if(__($row['status']) == __('Hidden')) echo 'checked'; ?> >   {:__('Hidden')}
        </div>
    </div>

    <div class="form-group">
        <label for="status" class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('Submit')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>



    </div>

</form>
